<?php

class User
{
    public function getId(){
        return 123;
    }
    public function getName($params){
        return json_encode($params);
    }
}